package com.yloveg.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.yloveg.entity.VGift;
import com.yloveg.entity.VPlayer;

public interface VPlayerService {
 
	public PageInfo<VPlayer> queryPlayerPage(int page, int limit);
	
	public PageInfo<VPlayer> queryActivityPageByactivity(int page, int limit,int activityid);
    
    public int insertPlayer(VPlayer vplayer);
    
    public int updateByPrimaryKeySelective(VPlayer vplayer);
    
    public VPlayer selectByPrimaryKey(Integer id);
    
    public int delPlayer(Integer id);
    
    public List<Map<String,Object>> queryPlayerMap(VGift vgift);
    
    public List<VPlayer> queryPlayer();
    
    public List<VPlayer> queryVPlayerByRecord(VPlayer vplayer);
    
    public List<VPlayer> queryPlayerByActDesc(int activityid);
    
    public List<VPlayer> queryPlayerByActAndYDesc(int activityid);
    
    public List<VPlayer> queryPlayerAll(int activityid);
    
    public List<VPlayer> queryPlayerAll2(int activityid);
    
    public PageInfo<VPlayer> queryActivityPageByactivityIsY(int page, int limit,int activityid , String title);
    
    public PageInfo<VPlayer> queryActivityPageByactivityIsYN(int page, int limit,int activityid , String title);
    
    public JSONObject returnWeixinDate(int activityid);
    
    public JSONObject getRankList(int activityid);
    
    public JSONObject getPlayerDetail(int playerid);
    
    public int queryVPlayerNO(VPlayer record);
    
}